import http from "../request"
import { Order } from "../types/order"
let commonUrl = '/ignore/user/order'

/**
 * 用户订单
 */
export function getOrderList(userId: number) {
	return http<Order.orderType[]>({
		url: commonUrl + `/queryOrder/userId?userId=${userId}`,
		method: 'GET'
	})
}
